﻿<common:LayoutAwarePage
    x:Name="pageRoot"
    x:Class="LRecipe.AboutUs"
    DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:LRecipe"
    xmlns:common="using:LRecipe.Common"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Page.Resources>

        <!-- TODO: Delete this line if the key AppName is declared in App.xaml -->
        <x:String x:Key="AppName">关于鲁菜</x:String>
    </Page.Resources>

    <!--
        This grid acts as a root panel for the page that defines two rows:
        * Row 0 contains the back button and page title
        * Row 1 contains the rest of the page layout
    -->
    <Grid Style="{StaticResource LayoutRootStyle}">
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!-- Back button and page title -->
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Button x:Name="backButton" Click="CloseFlyout" IsEnabled="{Binding Frame.CanGoBack, ElementName=pageRoot}" Style="{StaticResource SnappedBackButtonStyle}"/>
            <TextBlock x:Name="pageTitle" Grid.Column="1" Text="{StaticResource AppName}" Style="{StaticResource SnappedPageHeaderTextStyle}"/>
        </Grid>

        <Grid Grid.Row="1" Margin="20,0,0,0">
            <TextBlock Text="汉族传统四大菜系的鲁菜发端于春秋战国时的齐国和鲁国/url，形成于秦汉，宋代后成为“北食”的代表，明清时发展达到鼎盛。清末民初山东风味的高档菜称霸北京城，被称为“京鲁菜”；绵延千载的“孔府菜”为传统官府菜“食不厌精、脍不厌细”的典型。鲁菜火功要求严格（有“火功在山东”之说）、刀工技法多样、造型古朴大气、口味纯正、口感鲜香脆嫩，“堂堂正正，不走偏锋”。鲁菜是我国覆盖面积最广的地方菜，直接影响京津及东北三省，同时对其他菜系（如现代川菜的爆技法、淮扬菜的扒技法）技术工艺的发展亦有较大影响。" FontSize="18" TextWrapping="Wrap"/>
        </Grid>

        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="ApplicationViewStates">
                <VisualState x:Name="FullScreenLandscape"/>
                <VisualState x:Name="Filled"/>
                <VisualState x:Name="FullScreenPortrait"/>
                <VisualState x:Name="Snapped"/>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
    </Grid>
</common:LayoutAwarePage>
